﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MonthQoQ.aspx.cs" Inherits="Show_MonthQoQ" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>告警总览</title>
    <script type="text/javascript" src="../Scripts/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.9.2.custom.min.js"></script>
    <script type="text/javascript" src="../Scripts/CellAlarm/MonthQoQ.js"></script>
    <link rel="Stylesheet" href="../Content/redmond/jquery-ui-1.9.2.custom.min.css" />
    <script type="text/javascript" src="../Scripts/My97DatePicker/WdatePicker.js"></script>
    <link rel="stylesheet" href="../Content/CellAlarm/MonthQoQ.css" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="conditionDiv" class="ui-corner-all">
            <p>
                <label for="Month_A" class="lTitle">
                    月份：</label>
                <asp:TextBox ID="Month_A" runat="server" CssClass="text ui-widget-content Wdate"
                    AutoCompleteType="Disabled"></asp:TextBox>
                <label id="secondL" for="CellClass_A" class="lTitle">
                    基站类别：</label>
                <asp:DropDownList ID="CellClass_A" runat="server" CssClass="ui-widget-content" Width="90">
                    <asp:ListItem Selected="True" Text="A类" Value="A类"></asp:ListItem>
                    <asp:ListItem Text="B类" Value="B类"></asp:ListItem>
                    <asp:ListItem Text="C类" Value="C类"></asp:ListItem>
                </asp:DropDownList>
            </p>
            <p style="text-align: right; padding: 5px;">
                <asp:Button ID="Query" runat="server" Text="开始查询" CssClass="search" OnClick="Query_Click" />
                <asp:Button ID="Excel_B" runat="server" Text="导出EXCEL" CssClass="print" OnClick="Excel_Click" />
            </p>
        </div>
        <fieldset class="ui-grid-a ReportBox">
            <legend><%= CellClass_A.SelectedValue%>基站断站次数月度环比</legend>
            <asp:GridView ID="Report" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！"
                Width="100%" CssClass="ui-widget ui-widget-content reportgrid" OnRowCreated="Report_RowCreated"
                OnRowDataBound="Report_RowDataBound" ShowFooter="true">
                <HeaderStyle CssClass="ui-widget-header" />
                <RowStyle HorizontalAlign="Right" />
                <FooterStyle HorizontalAlign="Right" />
                <Columns>
                    <asp:BoundField DataField="COUNTY" HeaderText="县分" SortExpression="COUNTY" />
                    <asp:BoundField DataField="CellAll" HeaderText="基站数量" SortExpression="CellAll" />
                    <asp:BoundField DataField="UNLINKLs" HeaderText="上月" SortExpression="UNLINKLs" />
                    <asp:BoundField DataField="UNLINK" HeaderText="当月" SortExpression="UNLINK" />
                    <asp:BoundField DataField="DifUnlink" HeaderText="变化" SortExpression="DifUnlink" />
                    <asp:BoundField DataField="C_CountLs" HeaderText="上月" SortExpression="C_CountLs" />
                    <asp:BoundField DataField="C_Count" HeaderText="当月" SortExpression="C_Count" />
                    <asp:BoundField DataField="DiffCCount" HeaderText="变化" SortExpression="DiffCCount" />
                    <asp:BoundField DataField="QoQCCount" HeaderText="环比" SortExpression="QoQCCount" />
                </Columns>
            </asp:GridView>
        </fieldset>
        <fieldset class="ui-grid-a ReportBox">
            <legend><%= CellClass_A.SelectedValue%>基站断站时长月度环比</legend>
            <asp:GridView ID="DurationList" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！"
                Width="100%" CssClass="ui-widget ui-widget-content reportgrid" OnRowCreated="DurationList_RowCreated"
                OnRowDataBound="DurationList_RowDataBound" ShowFooter="true">
                <HeaderStyle CssClass="ui-widget-header" />
                <RowStyle HorizontalAlign="Right" />
                <FooterStyle HorizontalAlign="Right" />
                <Columns>
                    <asp:BoundField DataField="COUNTY" HeaderText="县分"/>
                    <asp:BoundField DataField="CellAll" HeaderText="基站数量"/>
                    <asp:BoundField DataField="AB_Duration_AllLs" HeaderText="上月" />
                    <asp:BoundField DataField="AB_Duration_All" HeaderText="当月" />
                    <asp:BoundField DataField="AB_Duration__ALL_Diff" HeaderText="变化"/>
                    <asp:BoundField DataField="AB_Duration_Ls" HeaderText="上月"/>
                    <asp:BoundField DataField="AB_Duration" HeaderText="当月"/>
                    <asp:BoundField DataField="AB_Duration_Diff" HeaderText="变化"/>
                    <asp:BoundField DataField="AB_Duration_QoQ" HeaderText="环比" />
                </Columns>
            </asp:GridView>
        </fieldset>
    </form>
</body>
</html>
